//
//  UnitydDefine.h
//  MasonryDemo
//
//  Created by 谢英泽 on 2016/11/10.
//  Copyright © 2016年 xieyingze. All rights reserved.
//

#ifndef UnitydDefine_h
#define UnitydDefine_h

#pragma mark - ************************方法相关************************
/**
 头像存储路径
 */
#define kMethod_iconPath            [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"iconPath.jpg"]
/**
 保存头像到document
 */
#define kMethod_saveIcon(image)     [UIImagePNGRepresentation(image) writeToFile:kMethod_iconPath atomically:YES]
/**
 获取头像
 */
#define kMethod_getIcon             [UIImage imageWithContentsOfFile:kMethod_iconPath]

#define kPlistName_userInfo         @"UserInfo"

#pragma mark - ************************App信息相关************************

#define kApp_stockWarmingParamter    @"5"
#define kApp_stockSafeParamter       @"10"

//隐藏首页总营业额金额 默认不隐藏
//#define kApp_hideHomeNumber         @"kApp_hideHomeNumber"

#pragma mark - ************************App业务相关************************

#pragma mark - 首页
//收款金额
#define kApp_paymentNumber           @"paymentNumber"
//进货金额
#define kApp_restockTotalMoney       @"restockTotalMoney"
//记账收备注
#define kApp_tallyReceiptNote        @"kApp_tallyReceiptNote"
//费用记录备注
#define kApp_expenseRecordNote       @"kApp_expenseRecordNote"

/**
 扫码列表类型
 0:销售 1:进货
 */
#define kApp_scanType               @"kApp_scanType"

/**
 收款类型
 微信支付
 支付宝支付
 现金支付
 */
#define kAppPayType_weixinPay         @"WeixinPay"
#define kAppPayType_aliPay            @"AliPay"
#define kAppPayType_cashPay           @"CashPay"
/**
 订单类型
 销售类型(扫码)
 记账类型
 */
#define kAppTradeType_saleOrder       @"SaleOrder"
#define kAppTradeType_tallyOrder      @"TallyOrder"

#pragma mark - 设置

#endif /* UnitydDefine_h */
